/*
 * Copyright (C) 2021 Huawei Device Co., Ltd.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.kelin.calendarlistview;

import java.io.Serializable;

import java.util.List;

/**
 * News
 */
public class News {

    private String date;

    private List<StoriesBean> stories;

    /**
     * getDate
     * @return String
     */
    public String getDate() {
        return date;
    }

    /**
     * setDate
     * @param date
     */
    public void setDate(String date) {
        this.date = date;
    }

    /**
     * getStories
     * @return List<StoriesBean>
     */
    public List<StoriesBean> getStories() {
        return stories;
    }

    /**
     * setStories
     * @param stories
     */
    public void setStories(List<StoriesBean> stories) {
        this.stories = stories;
    }

    /**
     * StoriesBean
     */
    public static class StoriesBean implements Serializable {
        private ExtraField extraField;
        private String title;
        private String gaPrefix;
        private boolean multipic;
        private int type;
        private long id;
        private List<String> images;

        /**
         * getTitle
         *
         * @return String
         */
        public String getTitle() {
            return title;
        }

        /**
         * setTitle
         *
         * @param title
         */
        public void setTitle(String title) {
            this.title = title;
        }

        /**
         * getGaPrefix
         *
         * @return String
         */
        public String getGaPrefix() {
            return gaPrefix;
        }

        /**
         * setGaPrefix
         *
         * @param ga_prefix
         */
        public void setGaPrefix(String ga_prefix) {
            this.gaPrefix = ga_prefix;
        }

        /**
         * isMultipic
         *
         * @return boolean
         */
        public boolean isMultipic() {
            return multipic;
        }

        /**
         * setMultipic
         *
         * @param multipic
         */
        public void setMultipic(boolean multipic) {
            this.multipic = multipic;
        }

        /**
         * getType
         *
         * @return int
         */
        public int getType() {
            return type;
        }

        /**
         * setType
         *
         * @param type
         */
        public void setType(int type) {
            this.type = type;
        }

        /**
         * getId
         *
         * @return long
         */
        public long getId() {
            return id;
        }

        /**
         * setId
         *
         * @param id
         */
        public void setId(long id) {
            this.id = id;
        }

        /**
         * getImages
         *
         * @return List<String>
         */
        public List<String> getImages() {
            return images;
        }

        /**
         * setImages
         *
         * @param images
         */
        public void setImages(List<String> images) {
            this.images = images;
        }

        /**
         * getExtraField
         *
         * @return ExtraField
         */
        public ExtraField getExtraField() {
            return extraField;
        }

        /**
         * setExtraField
         *
         * @param extraField
         */
        public void setExtraField(ExtraField extraField) {
            this.extraField = extraField;
        }

        /**
         * ExtraField
         */
        public static class ExtraField implements Serializable {
            private boolean isHeader;
            private String date;

            public ExtraField(boolean isHeader, String date) {
                this.isHeader = isHeader;
                this.date = date;
            }

            /**
             * isHeader
             *
             * @return boolean
             */
            public boolean isHeader() {
                return isHeader;
            }

            /**
             * setHeader
             *
             * @param header
             */
            public void setHeader(boolean header) {
                isHeader = header;
            }

            /**
             * getDate
             *
             * @return String
             */
            public String getDate() {
                return date;
            }

            /**
             * setDate
             *
             * @param date
             */
            public void setDate(String date) {
                this.date = date;
            }
        }

        /**
         * StoriesBean
         * @param extraField
         */
        public StoriesBean(ExtraField extraField) {
            this.extraField = extraField;
        }
    }

}
